#include "stdafx.h"
#include "User.h"
#include <iostream>

User::User()
{
}
User::User(const std::string &uid, const std::string &rt, const std::string &pw)
{
	userId = uid;
	roleType = rt;
	password = pw;
}
std::string User::getUserId()
{
	return userId;
}
void User::setUserId(const std::string & uid)
{
	userId = uid;
}
std::string User::getRoleType()
{
	return roleType;
}
void User::setRoleType(const std::string & rt)
{
	roleType = rt;
}
std::string User::getPassword()
{
	return password;
}
void User::setPassword(const std::string & pw)
{
	password = pw;
}
void User::show()
{
	using std::cout;
	using std::endl;
	cout << "userId:" << userId<< ", roleType:" << roleType << ", password:" << password << endl;
}

User::~User()
{
}
